<?php
class DefalutModule
{
	public $db;
	public $base;

	public function __construct(&$base) 
	{
		$this->base = $base;
		$this->db = $base->db;
		$this->view = $base->view;
	}
	
	public function test($id)
	{
		echo "test".$id;
		//var_dump($this->db);
		$version = $this->db->version();
		//var_dump($version);
		//var_dump($this->view);

		

	}
}
?>